package com.antler.smt.response.portal;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;

import java.util.Date;

/**
 * @author zhangyi
 * @date 2018/5/18 18:16
 */
@ApiModel(value = "SupplierShowTimeResp" , description = "服务商显示时间（预计时间和实际交货时间）")
public class SupplierShowTimeResp {

    /**
     * 时间类型
     */
    private Integer type;

    /**
     * 时间
     */
    private Date time;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
